import HookState from "@/views/learn/hooks/state/index"
import HookRef from "@/views/learn/hooks/ref/index"

import styles from "@/views/learn/hooks/style/styles"

function ReactHooks() {

    // 取出样式
    const { hooksBox } = styles

    return (
        <div style={hooksBox.box}>
            <HookState />
            <HookRef />
        </div>
    )

}


export default ReactHooks